package com.unittec.zk.provider.exam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.unittec.zk.provider.root.EntityRoot;
import lombok.Data;

/**
    * 课程
    */
@Data
@TableName(value = "el_exam")
public class ElExam extends EntityRoot implements Serializable {

    /**
     * 考试名称
     */
    @TableField(value = "title")
    private String title;

    /**
     * 考试描述
     */
    @TableField(value = "content")
    private String content;

    /**
     * 1公开2部门3定员
     */
    @TableField(value = "open_type")
    private Integer openType;

    /**
     * 组题方式1题库,2指定
     */
    @TableField(value = "join_type")
    private Integer joinType;

    /**
     * 难度:0不限,1普通,2较难
     */
    @TableField(value = "`level`")
    private Integer level;

    /**
     * 考试状态
     */
    @TableField(value = "`state`")
    private Integer state;

    /**
     * 是否限时
     */
    @TableField(value = "time_limit")
    private Byte timeLimit;

    /**
     * 开始时间
     */
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 总分数
     */
    @TableField(value = "total_score")
    private Integer totalScore;

    /**
     * 总时长（分钟）
     */
    @TableField(value = "total_time")
    private Integer totalTime;

    /**
     * 及格分数
     */
    @TableField(value = "qualify_score")
    private Integer qualifyScore;

    private static final long serialVersionUID = 1L;
}